using System;
using ZR.Model;
using ZR.Model.Dto;
using ZR.Model.Models;
using System.Collections.Generic;
using ZR.Model.Dto.Auth;

namespace ZR.Service.Auth.IAuthService
{
    /// <summary>
    /// 认证记录表service接口
    ///
    /// @author admin
    /// @date 2023-03-06
    /// </summary>
    public interface IVeriRecordService : IBaseService<VeriRecord>
    {
        Statistics GetCount(Seach seach);
        PagedInfo<VeriRecordDto> GetList(VeriRecordQueryDto parm);
        
        int AddVeriRecord(VeriRecord parm);

        int UpdateVeriRecord(VeriRecord parm);

        int UpdateAvatar(VeriRecord parm);

        void TruncateVeriRecord();

        string GetAccessToken();

        string AuthenticationByAliyun(VeriRecord parm);
    }
}
